<!--
 * @Author: yuanjunyi
 * @Date: 2024-02-23 15:03:31
 * @LastEditors: lg
 * @LastEditTime: 2024-03-11 11:10:53
 * @Description: this is description
-->
<template>
  <div class="top">
    <div>
      <h3>钢结构数智化产业互联网平台</h3>
      <span>让钢结构企业发展得更好</span>
    </div>
  </div>
  <!-- 公司简介 -->
  <div class="intro-part">
    <div class="part-title">
      <div>公司简介</div>
      <!-- <p>您的工厂，是否存在以下问题？</p> -->
    </div>
    <div class="intro">
      <p>
        钢构管家定位于钢结构制造业的服务业，是一个以自营为主撮合为辅的钢结构数智化产业互联网平台。
      </p>
      <p>
        钢构管家以“让钢结构企业发展得更好”为使命，将近30年的行业管理经验通过信息化手段，使用大数据、云计算以及人工智能等技术深度开发成智慧ERP系统及系列SAAS产品，搭建产业互联网平台，整合各方资源，为行业赋能。
      </p>
      <div class="video">
        <video
          controls
          :autoplay="true"
          :src="imgUrl + 'about-us.mp4'"
          alt=""
          style="width: 100%"
        />
      </div>
      <p>
        钢构管家打造集交易平台、产品平台、服务平台、协作共享平台、智能制造为一体的综合服务平台，通过钢构商城、软件商城、生态服务、钢构之家、企业战略资源地图、智能产线6大系列产品为行业企业提供产业数字化解决方案和数字产业化解决方案。
      </p>
      <p>钢构管家以钢结构制造企业及分包单位为核心客户，为客户提供一揽子数字化产品服务，使客户整个生产、经营管理全过程实现数字化、透视化、精益化和智慧化，提升行业生产、管理效率，使各环节价值最大化，从根本上促进行业企业文化升级，进而打造多方参与、互利共赢、协同发展的中国钢结构生态圈，构建行业新生态。 </p>
    </div>
  </div>
  <div class="vision">
    <ul>
      <li v-for="item in visionData" :key="item.title">
        <img :src="item.url" alt="" />
        <div>{{ item.title }}</div>
        <p>{{ item.text }}</p>
        <p>{{ item?.nextText }}</p>
      </li>
    </ul>
  </div>
  <div>
    <div class="part-title">
      <div>核心竞争力</div>
      <!-- <p>您的工厂，是否存在以下问题？</p> -->
    </div>
    <core-competitiveness
      :data="coreCompetitivenessData"
      :type="1"
    ></core-competitiveness>
  </div>
  <div class="honor">
    <div class="part-title">
      <div>荣誉资质</div>
      <!-- <p>您的工厂，是否存在以下问题？</p> -->
    </div>
    <div class="partner">
      <carousel />
      <!-- <el-carousel
        type="card"
        height="580px"
        width="300px"
        :indicator-position="'outside'"
      >
        <el-carousel-item v-for="item in images" :key="item" class="Item">
          <img :src="item" />
          <h3 text="2xl" justify="center">{{ item }}</h3> 
        </el-carousel-item>
      </el-carousel> -->
    </div>
  </div>
</template>
<script lang="ts" setup>
import { ref, onMounted, nextTick } from "vue";
import { visionData, coreCompetitivenessData } from "./constants";
import CoreCompetitiveness from "../components/core-competitiveness.vue";

import { imgUrl } from "@/utils/common";
import carousel from "../components/carousel.vue";
const images = ref([
  imgUrl + "certificate1.png",
  imgUrl + "certificate2.png",
  imgUrl + "certificate3.png",
  imgUrl + "certificate4.png",
  imgUrl + "certificate5.png",
  imgUrl + "certificate6.png",
]);
</script>
<style lang="scss" scoped>
.top {
  position: relative;
  width: 100%;
  height: 600px;
  background: url("https://gggj-fe.oss-cn-hangzhou.aliyuncs.com/steel-mall/about-us-banner.png")
    no-repeat 100%;
  background-size: cover;
  div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    h3 {
      font-weight: 600;
      font-size: 60px;
      line-height: 70px;
      letter-spacing: 3px;
      margin-bottom: 16px;
    }
    span {
      padding: 12px 206px;
      display: inline-block;
      background: linear-gradient(
        82deg,
        rgba(22, 120, 255, 0) 0%,
        #1678ff 52%,
        rgba(22, 120, 255, 0) 100%
      );
    }
  }
}
.intro-part {
  overflow: hidden;
  background: url("https://gggj-fe.oss-cn-hangzhou.aliyuncs.com/steel-mall/intro-bg.png")
    no-repeat top;
  background-size: 100%;
  padding-bottom: 60px;
  .intro {
    width: 66.7%;
    margin: auto;
    p {
      text-indent: 32px;
      font-weight: 400;
      font-size: 16px;
      color: #000000;
      line-height: 36px;
    }
    .video {
      margin: 50px 0 60px;
      box-shadow: -5px 5px 30px 0px rgba(165, 165, 165, 0.2);
      padding: 40px;
    }
  }
}
.vision {
  background: url("https://gggj-fe.oss-cn-hangzhou.aliyuncs.com/steel-mall/vision-bg.png")
    100% 100% no-repeat;
  height: 581px;
  overflow: hidden;
  background-size: 100%;

  ul {
    width: 66.7%;
    margin: auto;
    margin-top: 99px;
    display: flex;
    justify-content: space-between;
    li {
      /* width: 30%; */
      color: #fff;
      text-align: center;
      div {
        font-weight: 600;
        font-size: 36px;
        margin: 20px 0 16px;
      }
      p {
        font-weight: 400;
        font-size: 18px;
      }
      img {
        vertical-align: middle;
        width: 48px;
        height: 48px;
      }
    }
  }
}

.honor {
  background: #f7f9ff;
  padding-bottom: 80px;
  overflow: hidden;
}
/* .swiper-slide {
  width: 60%;
  height: 300px;
  transition: all 0.3s ease-in-out;
}
.swiper-slide-prev {
  transform: scale(0.8);
}
.swiper-slide-next {
  transform: scale(0.8);
} */
.partner {
  width: 66.7%;
  margin: auto;
  height: 600px;
  overflow: hidden;
}
</style>
